package com.jinzihan.entity;

public class Classroom {
    private Integer id;
    private String name;
    private Integer capacity;
    // 0表示没有多媒体 1表示有多媒体
    private Integer medium;
    // 0表示普通教室 1表示阶梯教室
    private Integer type;
    // 0表示空闲中 1表示已借出 2表示使用中
    private Integer status;

    public Classroom() {
    }

    public Classroom(Integer id, String name, Integer capacity, Integer medium, Integer type, Integer status) {
        this.id = id;
        this.name = name;
        this.capacity = capacity;
        this.medium = medium;
        this.type = type;
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCapacity() {
        return capacity;
    }

    public void setCapacity(Integer capacity) {
        this.capacity = capacity;
    }

    public Integer getMedium() {
        return medium;
    }

    public void setMedium(Integer medium) {
        this.medium = medium;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "Classroom{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", capacity=" + capacity +
                ", medium=" + medium +
                ", type=" + type +
                ", status=" + status +
                '}';
    }
}
